branchrust_reboot/main/Attack Helicoptercancel
316 Commits over 243 Days - 0.05cph!
Prevent permanently modifying the base attack heli compass material while using gunner view (Version Control Hates Him)
Clamp gunner input angles again on the server side
RefreshGunState fix double-up
Merge Main -> Attack Helicopter
Fix server compile, move muzzle transform properties
Merge GunnerScreen -> Attack Helicopter
Minor flying physics adjustment
Make sure fuel fraction is always up-to-date when doing a network send
Only update cachedFuelFraction once per second
Combined the frontfire and backfire effects into one effect
Duplicated the old patrol heli firing FX, assigned the copy to the attack heli, and removed the sparks from it, since those are covered by the backfire effect
Heli rocket_fire effect rotatino fix
Put attack heli "embers" back into world space, as they were originally
Use FixedParticleSimulationSpace on heli rocket back fire FX to prevent the effect system forcing them to world space (wtf?)
Fixed backfire effect rotation issues
Hooked up rocket tube rear back fire FX
Merge Main -> Attack Helicopter
Keep displaying rocket ammo count while reloading rockets (so that the number can be seen while holding down the fire button)
'fixcars' now fills the attack heli with gun+bullets+rockets (plus the usual fuel and repairs)
Heli rocket UI diamond is now more of a rotated square (per request)
Use initial velocity vector correctly or rocket ballistics calc
Doubled the amount of rocket slots
Ghost crosshair is functional, shows gun turret true hit point
Rocket icon slightly less phallic
Rocket crosshair icon. Ghost crosshair WIP
Rocket crosshair, set full opacity
Changed rocket crosshair to a diamond (per request). Use point filtering for all gunner UI components (for retro style).
Attack heli physics adjustments, more lift at angles
Adjusted attack heli torque
Call sub-ent input methods from a better place, prevent double or missing calls
NeedsKeyboard can now allow Reload
Show rocket ammo type in the gunner's UI
Hide heli gun crosshair when gun isn't available. Fixed server-side TryGetProjectedHitPos.
Calculate the heli rocket hit pos a bit more accurately
Calculate the projected ballistic trajectory of a fired heli rocket - based on the currently loaded ammo - and show that projected hit point as a crosshair in the gunner's UI
Merge Main -> Attack Helicopter
Give heli rockets gravity back
Prevent altlook when in gunner view
Make player put held items away if they switch to gunner view
Use first-person instead of first-person-with-arms for the heli gunner. Unfortunately this prevents showing their first-person hand holding the joystick, but first-person-with-arms doesn't work with holding items
Increased rotation range a little more
Increased turret rotation range
Fixed gunner overlay staying open in a couple of situations
Minicopter class. Allows the population setting to still be called minicopter.population
Merge Main -> Attack Helicopter